<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilasu: RSA Common APIs</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilasu
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__xasu__rsa__common__apis.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">RSA Common APIs</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaad67e90120a3bdd3a8f4a98c3543eba4"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xasu__rsa__common__apis.html#gaad67e90120a3bdd3a8f4a98c3543eba4">XAsu_RsaValidateInputParams</a> (const <a class="el" href="struct_x_asu___rsa_params.html">XAsu_RsaParams</a> *RsaParamsPtr)</td></tr>
<tr class="memdesc:gaad67e90120a3bdd3a8f4a98c3543eba4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function validates input parameters for padding.  <a href="#gaad67e90120a3bdd3a8f4a98c3543eba4">More...</a><br/></td></tr>
<tr class="separator:gaad67e90120a3bdd3a8f4a98c3543eba4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaad67e90120a3bdd3a8f4a98c3543eba4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XAsu_RsaValidateInputParams </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_x_asu___rsa_params.html">XAsu_RsaParams</a> *&#160;</td>
          <td class="paramname"><em>RsaParamsPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function validates input parameters for padding. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">RsaParamsPtr</td><td>Pointer to <a class="el" href="struct_x_asu___rsa_params.html" title="This structure contains RSA params info. ">XAsu_RsaParams</a> structure that holds the input parameters for RSA. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS, if input validation is successful.</li>
<li>XST_FAILURE, if input validation fails. </li>
</ul>
</dd></dl>
<p>Validate that the addresses of all input buffers are non-zero. </p>

<p>References <a class="el" href="struct_x_asu___rsa_params.html#ae603b7d80dd7b6135fb3b0bef96301c2">XAsu_RsaParams::InputDataAddr</a>, and <a class="el" href="struct_x_asu___rsa_params.html#a5e18a0a1b467d66aa7570db8a1dadaef">XAsu_RsaParams::KeyCompAddr</a>.</p>

<p>Referenced by <a class="el" href="group__xasu__rsa__client__apis.html#gaf459c9f8ebb4d33247bbd8b6ab591809">XAsu_RsaOaepDec()</a>, <a class="el" href="group__xasu__rsa__client__apis.html#ga32fd59ce2f1c0da67ca9217a224a4626">XAsu_RsaOaepEnc()</a>, <a class="el" href="group__xasu__rsa__client__apis.html#gaceff65cb28ac22b56121a047dbb53aa9">XAsu_RsaPssSignGen()</a>, and <a class="el" href="group__xasu__rsa__client__apis.html#ga3a33eba68b96c49e0dcb8ca6abfd7b89">XAsu_RsaPssSignVer()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
